//
//  AboutTableViewCell.m
//  SheShiDu
//
//  Created by 单剑秋 on 16/6/25.
//  Copyright © 2016年 单剑秋. All rights reserved.
//

#import "AboutTableViewCell.h"

@implementation AboutTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.infoText = [[UITextView alloc]init];
        _infoText.font = [UIFont systemFontOfSize:17];
        _infoText.textAlignment =  NSTextAlignmentJustified;
        [self.contentView addSubview:_infoText];
        
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    _infoText.frame = CGRectMake(10, 0, self.contentView.frame.size.width - 20, self.contentView.frame.size.height);
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
